package java67_adv5;

import java.util.Random;

public class RandomTest {

	public static void main(String[] args) {
		Random r = new Random();
//		for (int i = 1; i <= 10; i++) {
//			System.out.println(i + ">>>>>>>>>>>>>>>>>>>>>>.");
//			System.out.println(r.nextBoolean());
//			System.out.println(r.nextDouble());
//			System.out.println(r.nextFloat());
//			System.out.println(r.nextInt());
//
//		}b
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>");
		for (int i = 1; i <= 10; i++) {
			System.out.println(r.nextInt(100));// 0-100
		}
		System.out.println("?>>>>>>>>>>>>>>>>>>>>>");
		byte b[] = new byte[100];
		r.nextBytes(b);
		for (byte b1 : b) {
			System.out.print(b1 + " ");
		}
	}

}
